package com.bert.services;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bert.dao.EventoDao;
import com.bert.dao.TipoDao;
import com.bert.entities.Evento;

@Service
public class EventoServiceImpl implements EventoService {

	@Autowired
	private EventoDao eventoDao;
	
	@Autowired
	private TipoDao tipoDao;
	
	public List<Evento> findAllEventos(){
		return eventoDao.findAll(Evento.class);
	}
}
